<template>
  <div>
    <!--顶栏-->
    <mHeader />
    <div style="display: flex">
      <!--侧边栏-->
      <div style="height: 100%"><Aside style="" /></div>
      <div style="display: flex; width: 100%">
        <router-view></router-view>
      </div>
    </div>
    <!-- 主体 -->
  </div>
</template>
<script>
import mHeader from "@/components/mHeader.vue";
import Aside from "@/components/Aside.vue";

export default {
  name: "Manage",
  components: {
    mHeader,
    Aside,
  },
  created() {
    if (!sessionStorage.getItem("TOKEN")) {
      this.$router.push("/");
    }
  },
};
</script>
<style>
body {
  background: white;
}
</style>
